/* 
 * 
 * Created on 15 Nov 2011 by simonk
 * 
 * Copyright: Multicom Products Ltd. 2011 Bristol, England
 */
package servlet;

import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.handler.DefaultHandler;
import org.eclipse.jetty.servlet.ServletContextHandler;
import org.eclipse.jetty.servlet.ServletHolder;

/**
 *
 * @author simonk
 */
public class Main {
	public static void main(String[] args) throws Exception
    {
        Server server = new Server(8085);
        InitServlet.doInit();
        WsServlet servlet = new WsServlet();
        servlet.setHandler(new DefaultHandler());
        server.setHandler(servlet);        
 
        server.start();
        server.join();
    }
}
